const Controller = require('egg').Controller;

class TestController extends Controller {
  async test() {
    const { ctx } = this;
    ctx.body = { code: 0, message: '成功', result: { name: 'liubao', age: 28 } };
  }
}

module.exports = TestController;
